package com.llxy.worker.service;

import com.llxy.worker.domain.News;
import com.llxy.worker.dto.NewsDTO;

import java.util.List;

public interface NewsService{


    int deleteByPrimaryKey(Integer id);

    int insert(News record);

    int insertSelective(News record);

    NewsDTO selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(News record);

    int updateByPrimaryKey(News record);

    List<NewsDTO> selectList(News news);
}
